package com.qd.kiwi;

import android.os.Bundle;
import android.app.Activity;
import android.support.v4.view.ViewPager;
import android.util.DisplayMetrics;
import android.view.Menu;
import android.widget.GridView;

public class MainActivity extends Activity {
    private static final String TAG = "MainActivity";
    private static final boolean DBG = Const.DBG;

    private ViewPager mViewPager;
    private MyPagerAdapter mMyAdapter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        mViewPager = (ViewPager)findViewById(R.id.viewpager);
        mMyAdapter = new MyPagerAdapter(this);
        mViewPager.setAdapter(mMyAdapter);
       
    }

}
